home *** CD-ROM | disk | FTP | other *** search
- global gDBItem, gDBType, gDataPath, gPathDel, gTextSprite, gCurHyperList, gMovieHyperList, gItemList
-
- on updateLex
- set tmpName to "TXT" & gDBItem
- put tmpName
- set the member of sprite gTextSprite to the number of member tmpName of castLib "DBCast"
- set gCurHyperList to getaProp(gHyperList, tmpName)
- put gCurHyperList
- set tmpMovie to convertToUpper(the movie)
- setaProp(gMovieHyperList, tmpMovie, gCurHyperList)
- set tmpName to gDataPath & "Images" & gPathDel & "lexicon" & gPathDel & "pic" & gDBItem & ".pct"
- put tmpName
- set the fileName of member "picHolder" to tmpName
- set tmpPicTxt to getaProp(gPicTxtList, gDBItem)
- put tmpPicTxt into field "txtHolder"
- set curTitleL to getaProp(gItemList, gDBItem)
- if not voidp(curTitleL) then
- set curTitle to getAt(curTitleL, 1)
- put curTitle
- put curTitle into field "TitleTemplate" of castLib "internal"
- end if
- updateStage()
- end
-